Optimal. Leaf size=262 \[ -\frac {p r \log ^3\left (i \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {b x}{a}\right )}{3 t u}+\frac {\log ^3\left (i \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{3 t u}-\frac {q r \log ^3\left (i \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {d x}{c}\right )}{3 t u}-p r \log ^2\left (i \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {b x}{a}\right )-q r \log ^2\left (i \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {d x}{c}\right )+2 p r t u \log \left (i \left (j (h x)^t\right )^u\right ) \text {Li}_3\left (-\frac {b x}{a}\right )+2 q r t u \log \left (i \left (j (h x)^t\right )^u\right ) \text {Li}_3\left (-\frac {d x}{c}\right )-2 p r t^2 u^2 \text {Li}_4\left (-\frac {b x}{a}\right )-2 q r t^2 u^2 \text {Li}_4\left (-\frac {d x}{c}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.65, antiderivative size = 262, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 6, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2585, 2354,
2421, 2430, 6724, 2495} \begin {gather*} -p r \text {PolyLog}\left (2,-\frac {b x}{a}\right ) \log ^2\left (i \left (j (h x)^t\right )^u\right )+2 p r t u \text {PolyLog}\left (3,-\frac {b x}{a}\right ) \log \left (i \left (j (h x)^t\right )^u\right )-2 p r t^2 u^2 \text {PolyLog}\left (4,-\frac {b x}{a}\right )-q r \text {PolyLog}\left (2,-\frac {d x}{c}\right ) \log ^2\left (i \left (j (h x)^t\right )^u\right )+2 q r t u \text {PolyLog}\left (3,-\frac {d x}{c}\right ) \log \left (i \left (j (h x)^t\right )^u\right )-2 q r t^2 u^2 \text {PolyLog}\left (4,-\frac {d x}{c}\right )+\frac {\log ^3\left (i \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{3 t u}-\frac {p r \log \left (\frac {b x}{a}+1\right ) \log ^3\left (i \left (j (h x)^t\right )^u\right )}{3 t u}-\frac {q r \log \left (\frac {d x}{c}+1\right ) \log ^3\left (i \left (j (h x)^t\right )^u\right )}{3 t u} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2354
Rule 2421
Rule 2430
Rule 2495
Rule 2585
Rule 6724
Rubi steps
\begin {align*} \int \frac {\log ^2\left (57 \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{x} \, dx &=\text {Subst}\left (\int \frac {\log ^2\left (57 j^u (h x)^{t u}\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{x} \, dx,57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )\\ &=\text {Subst}\left (\text {Subst}\left (\int \frac {\log ^2\left (57 h^{t u} j^u x^{t u}\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{x} \, dx,57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )\\ &=\frac {\log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{3 t u}-\text {Subst}\left (\text {Subst}\left (\frac {(b p r) \int \frac {\log ^3\left (57 h^{t u} j^u x^{t u}\right )}{a+b x} \, dx}{3 t u},57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )-\text {Subst}\left (\text {Subst}\left (\frac {(d q r) \int \frac {\log ^3\left (57 h^{t u} j^u x^{t u}\right )}{c+d x} \, dx}{3 t u},57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )\\ &=-\frac {p r \log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {b x}{a}\right )}{3 t u}+\frac {\log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{3 t u}-\frac {q r \log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {d x}{c}\right )}{3 t u}+\text {Subst}\left (\text {Subst}\left ((p r) \int \frac {\log ^2\left (57 h^{t u} j^u x^{t u}\right ) \log \left (1+\frac {b x}{a}\right )}{x} \, dx,57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )+\text {Subst}\left (\text {Subst}\left ((q r) \int \frac {\log ^2\left (57 h^{t u} j^u x^{t u}\right ) \log \left (1+\frac {d x}{c}\right )}{x} \, dx,57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )\\ &=-\frac {p r \log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {b x}{a}\right )}{3 t u}+\frac {\log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{3 t u}-\frac {q r \log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {d x}{c}\right )}{3 t u}-p r \log ^2\left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {b x}{a}\right )-q r \log ^2\left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {d x}{c}\right )+\text {Subst}\left (\text {Subst}\left ((2 p r t u) \int \frac {\log \left (57 h^{t u} j^u x^{t u}\right ) \text {Li}_2\left (-\frac {b x}{a}\right )}{x} \, dx,57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )+\text {Subst}\left (\text {Subst}\left ((2 q r t u) \int \frac {\log \left (57 h^{t u} j^u x^{t u}\right ) \text {Li}_2\left (-\frac {d x}{c}\right )}{x} \, dx,57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )\\ &=-\frac {p r \log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {b x}{a}\right )}{3 t u}+\frac {\log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{3 t u}-\frac {q r \log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {d x}{c}\right )}{3 t u}-p r \log ^2\left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {b x}{a}\right )-q r \log ^2\left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {d x}{c}\right )+2 p r t u \log \left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_3\left (-\frac {b x}{a}\right )+2 q r t u \log \left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_3\left (-\frac {d x}{c}\right )-\text {Subst}\left (\text {Subst}\left (\left (2 p r t^2 u^2\right ) \int \frac {\text {Li}_3\left (-\frac {b x}{a}\right )}{x} \, dx,57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )-\text {Subst}\left (\text {Subst}\left (\left (2 q r t^2 u^2\right ) \int \frac {\text {Li}_3\left (-\frac {d x}{c}\right )}{x} \, dx,57 h^{t u} j^u x^{t u},57 j^u (h x)^{t u}\right ),57 j^u (h x)^{t u},57 \left (j (h x)^t\right )^u\right )\\ &=-\frac {p r \log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {b x}{a}\right )}{3 t u}+\frac {\log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{3 t u}-\frac {q r \log ^3\left (57 \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {d x}{c}\right )}{3 t u}-p r \log ^2\left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {b x}{a}\right )-q r \log ^2\left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {d x}{c}\right )+2 p r t u \log \left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_3\left (-\frac {b x}{a}\right )+2 q r t u \log \left (57 \left (j (h x)^t\right )^u\right ) \text {Li}_3\left (-\frac {d x}{c}\right )-2 p r t^2 u^2 \text {Li}_4\left (-\frac {b x}{a}\right )-2 q r t^2 u^2 \text {Li}_4\left (-\frac {d x}{c}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(839\) vs. \(2(262)=524\).
time = 0.60, size = 839, normalized size = 3.20 \begin {gather*} -p r t^2 u^2 \log (x) \log ^2(h x) \log (a+b x)+p r t^2 u^2 \log ^3(h x) \log (a+b x)+2 p r t u \log (x) \log (h x) \log \left (i \left (j (h x)^t\right )^u\right ) \log (a+b x)-2 p r t u \log ^2(h x) \log \left (i \left (j (h x)^t\right )^u\right ) \log (a+b x)-p r \log (x) \log ^2\left (i \left (j (h x)^t\right )^u\right ) \log (a+b x)+p r \log (h x) \log ^2\left (i \left (j (h x)^t\right )^u\right ) \log (a+b x)-\frac {1}{3} p r t^2 u^2 \log ^3(h x) \log \left (1+\frac {b x}{a}\right )+p r t u \log ^2(h x) \log \left (i \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {b x}{a}\right )-p r \log (h x) \log ^2\left (i \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {b x}{a}\right )-q r t^2 u^2 \log (x) \log ^2(h x) \log (c+d x)+q r t^2 u^2 \log ^3(h x) \log (c+d x)+2 q r t u \log (x) \log (h x) \log \left (i \left (j (h x)^t\right )^u\right ) \log (c+d x)-2 q r t u \log ^2(h x) \log \left (i \left (j (h x)^t\right )^u\right ) \log (c+d x)-q r \log (x) \log ^2\left (i \left (j (h x)^t\right )^u\right ) \log (c+d x)+q r \log (h x) \log ^2\left (i \left (j (h x)^t\right )^u\right ) \log (c+d x)+t^2 u^2 \log (x) \log ^2(h x) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )-\frac {2}{3} t^2 u^2 \log ^3(h x) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )-2 t u \log (x) \log (h x) \log \left (i \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )+t u \log ^2(h x) \log \left (i \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )+\log (x) \log ^2\left (i \left (j (h x)^t\right )^u\right ) \log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )-\frac {1}{3} q r t^2 u^2 \log ^3(h x) \log \left (1+\frac {d x}{c}\right )+q r t u \log ^2(h x) \log \left (i \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {d x}{c}\right )-q r \log (h x) \log ^2\left (i \left (j (h x)^t\right )^u\right ) \log \left (1+\frac {d x}{c}\right )-p r \log ^2\left (i \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {b x}{a}\right )-q r \log ^2\left (i \left (j (h x)^t\right )^u\right ) \text {Li}_2\left (-\frac {d x}{c}\right )+2 p r t u \log \left (i \left (j (h x)^t\right )^u\right ) \text {Li}_3\left (-\frac {b x}{a}\right )+2 q r t u \log \left (i \left (j (h x)^t\right )^u\right ) \text {Li}_3\left (-\frac {d x}{c}\right )-2 p r t^2 u^2 \text {Li}_4\left (-\frac {b x}{a}\right )-2 q r t^2 u^2 \text {Li}_4\left (-\frac {d x}{c}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.07, size = 0, normalized size = 0.00 \[\int \frac {\ln \left (i \left (j \left (h x \right )^{t}\right )^{u}\right )^{2} \ln \left (e \left (f \left (b x +a \right )^{p} \left (d x +c \right )^{q}\right )^{r}\right )}{x}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\ln \left (e\,{\left (f\,{\left (a+b\,x\right )}^p\,{\left (c+d\,x\right )}^q\right )}^r\right )\,{\ln \left (i\,{\left (j\,{\left (h\,x\right )}^t\right )}^u\right )}^2}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________